int8array = readBytesFromFile(fname)
Read content of file as byte array
fname | string | name of an existing file (error will occur if file does not exist) |
int8array | int8[] | int8 array containing the bytes of the file |
if ~exist(fname,'file') error('File %s does not exist',fname) end int8array = readBytesFromFile(fname)